﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Plane:Vehicle,IFly
    {
        public override void Run()
        {
            Console.WriteLine("{0}在行驶",this.Vtype);
        }
        public void TakeOff()
        {
            Console.WriteLine("{0}在起飞中...",this.Vtype);
        }
        public void Fly()
        {
            Console.WriteLine("{0}在飞...",this.Vtype);
        }
        public void Land()
        {
            Console.WriteLine("{0}在降落中...",this.Vtype);
        }
        public Plane() { }
        public Plane(string vtype):base(vtype)
        { 
            
        }
    }
}
